package com.jeomo.common.core.exception;

/**
 * @Author: qbt
 * @Date: 2019/4/10 22:55
 * @Version 1.0
 */

public class BusinessException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	private Integer code;

    public BusinessException(String message) {
        super(message);
    }

    public BusinessException(Integer code, String message) {
        super(message);
        this.code = code;
    }

	public Integer getCode() {
		return code;
	}

}
